import axios from 'axios'
axios.defaults.baseURL = 'http://42.192.71.221:8889/api/private/v1/'
export default axios

// 拦截器
axios.interceptors.request.use(config => {
  config.headers.Authorization = window.sessionStorage.getItem('token')
  return config
})
